/**
 * <pre>
 * Title: 		TransMessage.java
 * Project: 	MSWAP
 * Author:		linriqing
 * Create:	 	2012-5-28 上午11:48:25
 * Copyright: 	Copyright (c) 2012
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.msls.port.client.vo.client;

import java.io.Serializable;

/**
 * <pre>
 * 客户端消息基类
 * </pre>
 * @author linriqing
 * @version 1.0, 2012-5-28
 */
public class TransMessage implements Serializable, Cacheable
{
	private static final long serialVersionUID = 581402907994182776L;

	private String code;

	private String message;

	private Passport passport;

	private String transType;

	/**
	 * 请求会员店ID
	 */
	private String clientId;

	public static final String SuccessCode = "0000";

	/**
	 * @return code
	 */
	public String getCode()
	{
		return code;
	}

	/**
	 * @return message
	 */
	public String getMessage()
	{
		return message;
	}

	/**
	 * @return 客户通行证
	 */
	public Passport getPassport()
	{
		return passport;
	}

	/**
	 * @return transType
	 */
	public String getTransType()
	{
		return transType;
	}

	/**
	 * @param code code
	 */
	public void setCode(String code)
	{
		this.code = code;
	}

	/**
	 * @param message message
	 */
	public void setMessage(String message)
	{
		this.message = message;
	}

	/**
	 * @return successcode
	 */
	public static String getSuccesscode()
	{
		return SuccessCode;
	}

	/**
	 * @param passport passport
	 */
	public void setPassport(Passport passport)
	{
		this.passport = passport;
	}

	/**
	 * @param transType transType
	 */
	public void setTransType(String transType)
	{
		this.transType = transType;
	}

	@Override
	public long getExpireInSecond()
	{
		return 300;
	}

	public String getClientId()
	{
		return clientId;
	}

	public void setClientId(String clientId)
	{
		this.clientId = clientId;
	}
}
